%constantes
syms er_0
syms er_1
syms er_2
syms er_1/239
syms er_1/5
syms er_4
%operaciones
 syms er_x_1
 syms er_+_2
 syms er_^_3
 syms er_/_4
 syms er_x_5
 syms er_-_6
 syms er_/_7
 syms er_x_8
 syms er_+_9
 syms er_^_10
 syms er_^_11
 syms er_x_12
 syms er_-_13
 syms er_-_14
 syms er_/_15
 syms er_x_16
 syms er_+_17
 syms er_^_18
 syms er_^_19
 syms er_x_20
 syms er_-_21
 syms er_/_22
 syms er_+_23
 syms er_+_24
 syms er_x_25

F1 = 2 * er_0 + er_x_1
F2 = F1 + er_1 + er_+_2
F3 = er_1/5 + (-log(5))*(1/5) * F2 + er_^_3
F4 = er_1/329 + (-log(239))*(1/239) * F2 + er_^_4
F5 = (1/5)* er_4 + 4* F3 + er_x_5
F6 = F5 - F4 + er_-_6
%------------------------
m1_0 = (4 * (1/5)^(2*0+1) - (1/239)^(2*0+1))/(2*0+1)
m1_1 = (-(4 * (1/5)^(2*1+1) - (1/239)^(2*1+1)))/(2*1+1)
m1_2 = (4 * (1/5)^(2*2+1) - (1/239)^(2*2+1))/(2*2+1)
M2 = m1_0 + m1_1 + m1_2
%------------------------
F7 = F6 - (1/m1_0)*F2 + er_/_7
F8 = er_2 + 2*er_1 + er_x_8
F9 = F8 + er_1+ er_+_9
F10 = 3 * (1/5)^2 * er_1/5 + (-log(5)) * (1/5)^3 * F9 + er_^_10
F11 = 3 * (1/239)^2 * er_1/239 + (-log(239)) * (1/239)^3 * F9 + er_^_11
F12 = (1/5)^3 *er_4 + 4 * F10 + er_x_12
F13= F12 - F11 + er_-_13
F14 = - F9 + er_-_14
F15 = (-1/3) * F13 + (3/m1_1) * F14 + er_/_15
F16 = 4 * er_2 + er_x_16
F17 = F16 + er_1 + er_+_17
F18 = 5 * (1/5)^4 * er_1/5 + (-log(5)) * (1/5)^5 * F17 + er_^_18
F19 = 5 * (1/239)^4 * er_1/239 + (-log(239)) * (1/239)^5 * F17 + er_^_19
F20 = (1/5)^5 * er_4 + 4* F18 + er_x_20
F21 = F20 - F19 + er_-_21
F22 = (1/5) * F21 - (5/m1_2) * F17 + er_-_22
F23 = F15 + F7 + er_+_23
F24 = F22 + F23 + er_+_24
F25 =  M2 * er_4 + 4 * F24 + er_x_25



